.qrui-button{
    display: inline-block;
    cursor: pointer;
    transition: all .3s ease;
    outline: none;
    position: relative;
    white-space: nowrap;
    text-align: center;
    user-select: none;
    touch-action: manipulation;
    overflow: hidden;
    border-radius: 4px;
}
.qrui-button:not(.qrui-button-type-link):not(:disabled):after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #ccc 10%, transparent 10.1%);
    transform: scale(10);
    opacity: 0;
    transition: all .6s;
  }
  .qrui-button:not(.qrui-button-type-link):not(:disabled):active:after {
    transform: scale(0);
    opacity: .5;
    transition: 0s;
  }
.qrui-button-block{
    display: block;
    width: 100%
}


.qrui-button-size-small{
    padding: 0 15px;
    height: 24px;
    line-height: 22px;
    font-size: 12px;
}
.qrui-button-size-small.qrui-button-shape-circle{
    padding: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.qrui-button-size-small.qrui-button-shape-round{
    border-radius: 12px;
}

.qrui-button-size-middle{
    padding: 0 15px;
    height: 32px;
    line-height: 30px;
    font-size: 14px;
}

.qrui-button-size-middle.qrui-button-shape-circle{
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.qrui-button-size-middle.qrui-button-shape-round{
    border-radius: 16px;
}

.qrui-button-size-large{
    padding: 0 15px;
    height: 40px;
    line-height: 38px;
    font-size: 16px;
    border-radius: 8px;
}

.qrui-button-size-large.qrui-button-shape-circle{
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.qrui-button-size-large.qrui-button-shape-round{
    border-radius: 20px;
}
/* primary */
.qrui-button.qrui-button-type-primary{
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    box-shadow: 0 2px 0 rgba(5, 145, 255, 0.1);
}

.qrui-button.qrui-button-type-primary:hover:not(:disabled){
    color: #fff;
    filter: opacity(0.7);
}

.qrui-button.qrui-button-type-primary:active:not(:disabled){
    filter:none;
}

/* default */
.qrui-button{
    color: #333;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
}

.qrui-button:hover:not(:disabled){
    color: #007bff;
    border-color: #007bff;
    filter: opacity(0.7);
}

.qrui-button:active:not(:disabled){
    filter:none;
}

/* dashed */
.qrui-button.qrui-button-type-dashed{
    color: #333;
    background-color: #fff;
    border: 1px dashed #d9d9d9;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
}

/* text */
.qrui-button.qrui-button-type-text{
    color: #333;
    background-color: #fff;
    border: none;
    box-shadow: none;
}

.qrui-button.qrui-button-type-text:hover:not(:disabled){
    color: #333;
    background-color: rgba(0, 0, 0, 0.06);
}


/* link */
.qrui-button.qrui-button-type-link{
    color: #007bff;
    background-color: #fff;
    border: none;
    box-shadow: none;
}

.qrui-button.qrui-button-type-link:hover:not(:disabled){
    filter: opacity(0.7);
}

.qrui-button.qrui-button-type-link:active:not(:disabled){
    filter:none;
}

/* danger */
.qrui-button.qrui-button-type-primary.qrui-button-danger:not(:disabled){
    color: #fff;
    background-color: #ff4d4f;
    border: 1px solid #ff4d4f;
    box-shadow: 0 2px 0 rgba(255, 38, 5, 0.06);
}

.qrui-button.qrui-button-danger:not(:disabled){
    color: #ff4d4f;
    border-color: #ff4d4f;
}

.qrui-button.qrui-button-type-text.qrui-button-danger:hover:not(:disabled){
    color: #ff4d4f;
    background-color: #fff2f0;
}

/* ghost */
.qrui-button.qrui-button-type-primary.qrui-button-ghost:not(:disabled){
    color: #007bff;
    border: 1px solid #007bff;
    box-shadow: 0 2px 0 rgba(0, 123, 255, 0.1);
}

.qrui-button.qrui-button-ghost:not(:disabled){
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}
.qrui-button.qrui-button-ghost:hover:not(:disabled){
    color: #007bff;
    background-color: transparent;
    border-color: #007bff;
}


.qrui-button.qrui-button-danger.qrui-button-ghost:not(:disabled){
    color: #ff4d4f;
    background-color: transparent;
    border-color: #ff4d4f;
}




/* disabled */
.qrui-button:disabled{
    color: rgba(0, 0, 0, 0.25);
    background-color: rgba(0, 0, 0, 0.04);
    border-color: #d9d9d9;
    cursor: not-allowed;
    box-shadow: none;
}
.qrui-button.qrui-button-type-text:disabled,
.qrui-button.qrui-button-type-link:disabled{
    background-color: #fff;
}

.qrui-button-loading svg{
    width: 1em;
    height: 1em;
    animation: circleLoading 1.2s infinite linear;
    fill: currentColor;
}

.qrui-button span {
    display: inline-block;
    vertical-align: middle;
    transform: translateY(-1px);
}
.qrui-button.qrui-button-size-large span {
    transform: translateY(-2px);
}

.qrui-button-loading{
    margin-right: 10px;
}

@keyframes circleLoading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}